import { http } from '@/utils/request'

/**
 * 获取楼层数据
 * @param client_type
 * @param page_type
 */
export function getTopicData(id: string) {
  return http.request({
    url: `/other/pageData/get/${id}`,
    method: 'GET'
  })
}

/**
 * 获取楼层数据
 * @param client_type
 * @param page_type
 */
export function getFloorData() {
  return http.request({
    url: `/other/pageData/getIndex?clientType=H5`,
    method: 'GET'
  })
}

/**
 * 获取店铺楼层数据
 */
export function getFloorStoreData(params: any) {
  return http.request({
    url: `/other/pageData?pageClientType=H5`,
    method: 'GET',
    params
  })
}
